﻿<UserControl x:Class="Fight.gameStage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" >
    <UserControl.Resources>
    <Storyboard x:Key="rtt" >

        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
	Storyboard.TargetName="brdrAngle" 
	Storyboard.TargetProperty="(Angle)">

            <SplineDoubleKeyFrame KeyTime="00:00:00.05"  Value="3"/>
            <SplineDoubleKeyFrame KeyTime="00:00:00.10" Value="-3"/>
            <SplineDoubleKeyFrame KeyTime="00:00:00.15" Value="2"/>
            <SplineDoubleKeyFrame KeyTime="00:00:00.20" Value="-2"/>
            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="2"/>
            <SplineDoubleKeyFrame KeyTime="00:00:00.30" Value="-2"/>
            <SplineDoubleKeyFrame KeyTime="00:00:00.31" Value="0"/>
            <!--   <SplineDoubleKeyFrame KeyTime="00:00:00.05"  Value="5"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.10" Value="-5"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.15"  Value="5"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.20" Value="-5"/> 
                <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.30" Value="-2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.32" Value="2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.34" Value="-2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.36" Value="2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.38" Value="-2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.40" Value="0"/> -->
        </DoubleAnimationUsingKeyFrames>
    </Storyboard>

    <Storyboard x:Name="move" x:Key="move2">
            <DoubleAnimation Storyboard.TargetName="spLeftPlayer" Storyboard.TargetProperty="(Canvas.Left)" From="0" To="108" Duration="0:0:1" AutoReverse="False"  />
    </Storyboard>
    </UserControl.Resources>
    <Canvas x:Name="LayoutRoot" Background="Transparent">
        <TextBox Visibility="Visible" Name="tbEvents" Width="0"  />
        <StackPanel Canvas.Left="235" Canvas.Top="63" Name="spLeftPlayer"  />
        <StackPanel Canvas.Left="29" Canvas.Top="38"  Name="spRightPlayer"  />
    </Canvas>
</UserControl>
